 USB HASP     
Copyright (c) 2004 Chingachguk, Denger2k, tch2000 All Rights Reserved

----

          , 
..     HASP         
          .
   ,       
,   .

        
         .

          
-   .

      ,       
 .

       " "    
             
           .

          
    .

----

HASP4 Key dongle    
 2003.    2003  reversing.net  
  :

[QUOTE]
2003 year, Jul.
...

Code:

VOID Transform( PULONG Data, PKEY_STRUCT Key )
{
	ULONG i,index,bit;

	InitDongle( 2, Key );

	for( i = 1, index = 0; i <= 39; ++i )
	{
		bit = Transform2( ((PUCHAR)(*Data))[index], Key );

		index = (( (*Data) & 0x01) << 1) | bit;

		if( ( (*Data) & 0x01) == bit )
			*Data = (*Data) >> 1;
		else
			*Data = ( (*Data) >> 1) ^ 0x80500062;
	}
}

after it we make direct Hasp4 hardware access and build tables for analise.
3 days later i keep full Hasp4 encryption algo, and for reproducte it need only 37bit.
[/QUOTE] 

        BrainStudio.

 2003- 2004   hardlock.sys  
  ,      
EDS ,     
/  3D.   (!)  
  ,      
.

 2004       "  ".
   wasm.ru  ru-board.ru, :

http://forum.ru-board.com/topic.cgi?forum=35&topic=9455&start=1400

( ).

About

       3C/3D .
     
        HASP API  
    (.   BrainStudio),  
   USB- ,  
       HASP.

----

 :
1.     "chk make.bat", "free make.bat" 
 :
set SRC_DRIVE=C:
set SRC_PATH=22\bus
set DDK_PATH=D:\WINDDK\2600.1106
,  SRC_DRIVE -  ,    ,
      SRC_PATH  -    .\bus ,
      DDK_PATH  -    Windows XP DDK

2. 
"chk make.bat"      
"free make.bat"    .

3.    
"chk install.bat"       
"free install.bat"     .

       
\Registry\MACHINE\System\CurrentControlSet\Services\Emulator\HASP\Dump
,        USB- 
 .      
     .

4.  ""  USB-   
"unplug all.bat",    enum.exe.
       
,    , . .\Controller\enum.exe /?.

       USB- 
       (. . 3), 
  enum (. . 4).

 :
1.      3 :
.\Inf\vusbbus.cat
.\Inf\vusbbus.inf
.\Inf\VUsbBus.sys
,  VUsbBus.sys -    .

2.     .

3.  :
	3.1. \\ \ .
	3.2. ,   
	3.3.   
	3.4.  ,    
	3.5.   (System devices)
	3.6.   ...\...
	3.7.     .\Inf,  - .

4.  :      .\Inf  devcon.exe 
  :
Install.bat:
@echo off
devcon remove root\vusbbus
devcon install vusbbus.inf root\vusbbus

Remove.bat:
@echo off
devcon remove root\vusbbus
